#include <windows.h>
#include "CInventoryModifyPacket.h"

CInventoryModifyPacket::CInventoryModifyPacket(unsigned char slotID, unsigned char locationID, unsigned long quantity) {

	memset(&data, 0, sizeof(data));

	this->type = 0x1E;
	this->size = 0x08;

	memcpy(data+0x04-0x04, &quantity, 4);
	memcpy(data+0x08-0x04, &locationID, 1);
	memcpy(data+0x09-0x04, &slotID, 1);
}

CInventoryModifyPacket::~CInventoryModifyPacket() {
}